package cn.didi.feidi.androidorder.model;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * Created by jinxiong on 2017/8/25.
 */

public class OrderUser implements Serializable {


    /**
     * orderUserId : 1503651122945FcWb9e
     * userId : 18740284923150062154
     * parentOrderUserId : null
     * userAddressId : 1503047339826vsOfo9
     * waterDeliverId : null
     * userCouponId : null
     * amount : 225
     * urgentPrice : 0
     * createTime : 1503651122927
     * modifiedTime : 1503651122927
     * receiveTime : null
     * dealFinishTime : null
     * payOrderNumber : null
     * payWay : null
     * statusSys : 0
     * statusUser : 0
     * statusDeliver : 0
     * startTime : 1502946957000
     * endTime : 1503558957000
     * waDeCo : false
     * waDeCoTi : null
     * remark : "我是来自1503043623580Bu3JXf"
     * deposit : 100
     * region : null
     * waterStoreLocations : null
     * notifyLocations : null
     * userAddress : {"userAddressId":"1503047339826vsOfo9","userId":"18740284923150062154","address":"五山街道","longitude":113.35199,"latitude":23.15867,"name":"嘻嘻哈哈","sex":"女","phoneNumber":"13947029951","city":"广州","district":"天河区","road":"23.190路","defaultAddress":false,"deletedAddress":false}
     * orderWaBuOrUsList : [{"orderUserId":"1503651122945FcWb9e","bucketTypeId":4,"brandName":"鼎湖山泉","quantity":1,"userPriceTotal":19,"storePriceTotal":9,"deliverProfitTotal":14,"producerPriceTotal":0,"picUrl":null},{"orderUserId":"1503651122945FcWb9e","bucketTypeId":3,"brandName":"鼎湖山泉","quantity":4,"userPriceTotal":56,"storePriceTotal":16,"deliverProfitTotal":44,"producerPriceTotal":0,"picUrl":null}]
     * orderBlBuOrUsList : [{"orderUserId":"1503651122945FcWb9e","bucketTypeId":3,"brandName":"鼎湖山泉","quantity":2,"blBuPrTo":100}]
     * waterBucketCount : 0
     * needExtractDeposit : false
     * ordered : false
     */

    private String orderUserId;
    private String userId;
    private String parentOrderUserId;
    private String userAddressId;
    private String waterDeliverId;
    private Integer userCouponId;
    private double amount;
    private int urgentPrice;
    private long createTime;
    private long modifiedTime;
    private long receiveTime;
    private long dealFinishTime;
    private String payOrderNumber;
    private String payWay;
    private int statusSys;
    private int statusUser;
    private int statusDeliver;
    private long startTime;
    private long endTime;
    private boolean waDeCo;
    private long waDeCoTi;
    private String remark;
    private int deposit;
    private String region;
    /* 送水工名字 */
    private String waterDeliverName;

    /* 送水工联系电话 */
    private String waterDeliverPhoneNumber;
    private Set<String> waterStoreLocations;
    private List<String> notifyLocations;
    private UserAddressBean userAddress;
    private int waterBucketCount;
    private boolean needExtractDeposit;
    private boolean ordered;
    private List<OrderWaBuOrUsListBean> orderWaBuOrUsList;
    private List<OrderBlBuOrUsListBean> orderBlBuOrUsList;
    private String commentUserId;
    private boolean deleted;

    public String getWaterDeliverName() {
        return waterDeliverName;
    }

    public void setWaterDeliverName(String waterDeliverName) {
        this.waterDeliverName = waterDeliverName;
    }

    public String getWaterDeliverPhoneNumber() {
        return waterDeliverPhoneNumber;
    }

    public void setWaterDeliverPhoneNumber(String waterDeliverPhoneNumber) {
        this.waterDeliverPhoneNumber = waterDeliverPhoneNumber;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCommentUserId() {
        return commentUserId;
    }

    public void setCommentUserId(String commentUserId) {
        this.commentUserId = commentUserId;
    }

    public String getOrderUserId() {
        return orderUserId;
    }

    public void setOrderUserId(String orderUserId) {
        this.orderUserId = orderUserId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Object getParentOrderUserId() {
        return parentOrderUserId;
    }

    public void setParentOrderUserId(String parentOrderUserId) {
        this.parentOrderUserId = parentOrderUserId;
    }

    public String getUserAddressId() {
        return userAddressId;
    }

    public void setUserAddressId(String userAddressId) {
        this.userAddressId = userAddressId;
    }

    public String getWaterDeliverId() {
        return waterDeliverId;
    }

    public void setWaterDeliverId(String waterDeliverId) {
        this.waterDeliverId = waterDeliverId;
    }

    public Object getUserCouponId() {
        return userCouponId;
    }

    public void setUserCouponId(Integer userCouponId) {
        this.userCouponId = userCouponId;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getUrgentPrice() {
        return urgentPrice;
    }

    public void setUrgentPrice(int urgentPrice) {
        this.urgentPrice = urgentPrice;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(long modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Object getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(long receiveTime) {
        this.receiveTime = receiveTime;
    }

    public long getDealFinishTime() {
        return dealFinishTime;
    }

    public void setDealFinishTime(long dealFinishTime) {
        this.dealFinishTime = dealFinishTime;
    }

    public String getPayOrderNumber() {
        return payOrderNumber;
    }

    public void setPayOrderNumber(String payOrderNumber) {
        this.payOrderNumber = payOrderNumber;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public int getStatusSys() {
        return statusSys;
    }

    public void setStatusSys(int statusSys) {
        this.statusSys = statusSys;
    }

    public int getStatusUser() {
        return statusUser;
    }

    public void setStatusUser(int statusUser) {
        this.statusUser = statusUser;
    }

    public int getStatusDeliver() {
        return statusDeliver;
    }

    public void setStatusDeliver(int statusDeliver) {
        this.statusDeliver = statusDeliver;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public boolean isWaDeCo() {
        return waDeCo;
    }

    public void setWaDeCo(boolean waDeCo) {
        this.waDeCo = waDeCo;
    }

    public long getWaDeCoTi() {
        return waDeCoTi;
    }

    public void setWaDeCoTi(long waDeCoTi) {
        this.waDeCoTi = waDeCoTi;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getDeposit() {
        return deposit;
    }

    public void setDeposit(int deposit) {
        this.deposit = deposit;
    }

    public Object getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Object getWaterStoreLocations() {
        return waterStoreLocations;
    }

    public void setWaterStoreLocations(Set<String> waterStoreLocations) {
        this.waterStoreLocations = waterStoreLocations;
    }

    public Object getNotifyLocations() {
        return notifyLocations;
    }

    public void setNotifyLocations(List<String> notifyLocations) {
        this.notifyLocations = notifyLocations;
    }

    public UserAddressBean getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(UserAddressBean userAddress) {
        this.userAddress = userAddress;
    }

    public int getWaterBucketCount() {
        return waterBucketCount;
    }

    public void setWaterBucketCount(int waterBucketCount) {
        this.waterBucketCount = waterBucketCount;
    }

    public boolean isNeedExtractDeposit() {
        return needExtractDeposit;
    }

    public void setNeedExtractDeposit(boolean needExtractDeposit) {
        this.needExtractDeposit = needExtractDeposit;
    }

    public boolean isOrdered() {
        return ordered;
    }

    public void setOrdered(boolean ordered) {
        this.ordered = ordered;
    }

    public List<OrderWaBuOrUsListBean> getOrderWaBuOrUsList() {
        return orderWaBuOrUsList;
    }

    public void setOrderWaBuOrUsList(List<OrderWaBuOrUsListBean> orderWaBuOrUsList) {
        this.orderWaBuOrUsList = orderWaBuOrUsList;
    }

    public List<OrderBlBuOrUsListBean> getOrderBlBuOrUsList() {
        return orderBlBuOrUsList;
    }

    public void setOrderBlBuOrUsList(List<OrderBlBuOrUsListBean> orderBlBuOrUsList) {
        this.orderBlBuOrUsList = orderBlBuOrUsList;
    }

    public static class UserAddressBean implements Serializable {
        /**
         * userAddressId : 1503047339826vsOfo9
         * userId : 18740284923150062154
         * address : 五山街道
         * longitude : 113.35199
         * latitude : 23.15867
         * name : 嘻嘻哈哈
         * sex : 女
         * phoneNumber : 13947029951
         * city : 广州
         * district : 天河区
         * road : 23.190路
         * defaultAddress : false
         * deletedAddress : false
         */

        private String userAddressId;
        private String userId;
        private String address;
        private double longitude;
        private double latitude;
        private String name;
        private String sex;
        private String phoneNumber;
        private String city;
        private String district;
        private String road;
        private boolean defaultAddress;
        private boolean deletedAddress;

        public String getUserAddressId() {
            return userAddressId;
        }

        public void setUserAddressId(String userAddressId) {
            this.userAddressId = userAddressId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getPhoneNumber() {
            return phoneNumber;
        }

        public void setPhoneNumber(String phoneNumber) {
            this.phoneNumber = phoneNumber;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public String getRoad() {
            return road;
        }

        public void setRoad(String road) {
            this.road = road;
        }

        public boolean isDefaultAddress() {
            return defaultAddress;
        }

        public void setDefaultAddress(boolean defaultAddress) {
            this.defaultAddress = defaultAddress;
        }

        public boolean isDeletedAddress() {
            return deletedAddress;
        }

        public void setDeletedAddress(boolean deletedAddress) {
            this.deletedAddress = deletedAddress;
        }
    }

    public static class OrderWaBuOrUsListBean implements Serializable {
        /**
         * orderUserId : 1503651122945FcWb9e
         * bucketTypeId : 4
         * brandName : 鼎湖山泉
         * quantity : 1
         * userPriceTotal : 19
         * storePriceTotal : 9
         * deliverProfitTotal : 14
         * producerPriceTotal : 0
         * picUrl : null
         */

        private String orderUserId;
        private int bucketTypeId;
        private String brandName;
        private int quantity;
        private double userPriceTotal;
        private double storePriceTotal;
        private double deliverProfitTotal;
        private double producerPriceTotal;
        private String picUrl;

        public String getOrderUserId() {
            return orderUserId;
        }

        public void setOrderUserId(String orderUserId) {
            this.orderUserId = orderUserId;
        }

        public int getBucketTypeId() {
            return bucketTypeId;
        }

        public void setBucketTypeId(int bucketTypeId) {
            this.bucketTypeId = bucketTypeId;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public double getUserPriceTotal() {
            return userPriceTotal;
        }

        public void setUserPriceTotal(double userPriceTotal) {
            this.userPriceTotal = userPriceTotal;
        }

        public double getStorePriceTotal() {
            return storePriceTotal;
        }

        public void setStorePriceTotal(double storePriceTotal) {
            this.storePriceTotal = storePriceTotal;
        }

        public double getDeliverProfitTotal() {
            return deliverProfitTotal;
        }

        public void setDeliverProfitTotal(double deliverProfitTotal) {
            this.deliverProfitTotal = deliverProfitTotal;
        }

        public double getProducerPriceTotal() {
            return producerPriceTotal;
        }

        public void setProducerPriceTotal(double producerPriceTotal) {
            this.producerPriceTotal = producerPriceTotal;
        }

        public Object getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }
    }

    public static class OrderBlBuOrUsListBean implements Serializable {
        /**
         * orderUserId : 1503651122945FcWb9e
         * bucketTypeId : 3
         * brandName : 鼎湖山泉
         * quantity : 2
         * blBuPrTo : 100
         */

        private String orderUserId;
        private int bucketTypeId;
        private String brandName;
        private int quantity;
        private int blBuPrTo;

        public String getOrderUserId() {
            return orderUserId;
        }

        public void setOrderUserId(String orderUserId) {
            this.orderUserId = orderUserId;
        }

        public int getBucketTypeId() {
            return bucketTypeId;
        }

        public void setBucketTypeId(int bucketTypeId) {
            this.bucketTypeId = bucketTypeId;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public int getBlBuPrTo() {
            return blBuPrTo;
        }

        public void setBlBuPrTo(int blBuPrTo) {
            this.blBuPrTo = blBuPrTo;
        }
    }
}
